package team.pwy.pojo.entity;

import java.util.Date;
import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of = {"id"})
public class Order implements Serializable {

    private Integer id;
    private String number;
    private Integer userId;
    private String realName;
    private String phone;
    private Integer movieId;
    private String movieTitle;
    private String posterImg;
    private double moviePrice;
    private Integer quota;
    private double total;
    private Integer status;
    private Integer sessionId;
    private Integer couponId;
    private Integer couponMoney;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
